{template "content","header"}
<div class="content">
    <div id="Di_TI">
		<ul>
			<li>
				<div class="Di_Ti_l"></div>
				<div class="Di_Ti_c {if 11==$catid}Di_Ti_current{/if}"><a href="{$CATEGORYS[$top_parentid][url]}">{L('all')}</a></div>
				<div class="Di_Ti_r"></div>
       		</li>
		{if $top_parentid}
		{pc:content action="category" catid="$top_parentid" num="15" siteid="$siteid" order="listorder ASC"}
			{loop $data $r}
			<li>
				<div class="Di_Ti_l"></div>
				<div class="Di_Ti_c {if $r['catid']==$catid}Di_Ti_current{/if}"><a href="{$r[url]}">{$r[catname]}</a></div>
				<div class="Di_Ti_r"></div>
       		</li>
			{/loop}
        {/pc}
		{/if}	
		</ul>
 	</div>
	<?php
		$urlrule = content_makeurlrule();
	?>
	<div id="NeiRong">
		<div class="NeiRong_1 NeiRong_list1">
		{if $child!=1}
			<div class="NeiRong_1_t">
			  <div class="NeiRong_1_t_T"><p>专业装备</p>
				<a href="#">鞋子</a> <a href="#">背包</a> <a href="#">冲锋衣</a> <a href="#">冲锋裤</a> <p><a href="#">速干衣</a> <a href="#">速干裤</a> <a href="#">帽子</a> <a href="#">内衣</a></p><p> <a href="#">手套</a></p></div>
				<div class="NeiRong_1_t_l"><p>专业装备</p>
				<a href="#">鞋子</a> <a href="#">背包</a> <a href="#">冲锋衣</a> <a href="#">冲锋裤</a> <p><a href="#">速干衣</a> <a href="#">速干裤</a> <a href="#">帽子</a> <a href="#">内衣</a></p><p> <a href="#">手套</a></p></div>
				<div class="NeiRong_1_t_b">
				  <div class="NeiRong_1_t_b_sou"><input name="" type="text" class="sousou" /></div>
					<div class="NeiRong_1_t_b_anniu"><input name="" type="button" class="anniu" value="搜索" /></div>
			  </div>
       		</div>
		{/if}
			{pc:content action="lists" catid="$catid" num="40" order="id DESC" page="$page"}
		    {loop $data $r}
			<?
				$col = 10;
				if(count($data)<40)
				{
					$col = ceil(count($data)/4);
				}
				$commentid = "content_".$r['catid']."-".$r['id']."-".$siteid;
			?>
			<div class="NeiRong_1_c">
				<div class="NeiRong_1_c_t"><span class="span_3"><a href="{$r['url']}" target="_blank" title="{$r['title']}"><img src="{thumb($r['thumb'],204,'','','ZouZouBa_37.gif')}" width="204"/></a></span><span class="span_cl"><img src="{CSS_PATH}zouzou/images/haox_38.gif" width="101" height="18" /></span><span class="span_c2"><a href="{$r['url']}" target="_blank">评论（{$r['comments']}）</a></span></div>
				<div class="NeiRong_1_c_b">
					<ul>
					{pc:comment action="lists" commentid="$commentid" siteid="$siteid" page="$_GET[page]" hot="$hot" num="20" return="data1"}
			{if !empty($data1)}      
			{loop $data1 $r}
				{php $memberinfoimg1=get_memberavatar($r['userid']);}
							<li><Img src="{$memberinfoimg1}" alt="{$r['username']}" onerror="this.src='<?php echo CSS_PATH?>zouzou/images/img_05.jpg'" height="32" width="32"/><span class="neironh">评论:评论内容评论内容评论内容内容内</span></li>
			{/loop}
			{else}<li>暂无评论</li>
			{/if}
			{/pc}
					</ul>
				 </div>
			</div> 
{if $n%$col==0 && $n>1}</div><div class="NeiRong_1 NeiRong_list{$n}">{/if}
			{/loop}
	 		{/pc}  
  		</div>
		{if $pages}<div id="pages" class="text-c">{$pages}</div>{/if}
	</div>
</div>
{template "content","footer"}
<script type="text/javascript"> 
$(function(){

    $('body').addClass("body");

})
</script>
